package com.glela.activ.dao.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.glela.activ.dao.OActivGiftProductDao;
import com.glela.activ.mapper.OActivGiftProductMapper;
import com.glela.activ.service.domain.info.gift.OActivInfoContentGiftProductVo;

@Repository
public class OActivGiftProductDaoImpl implements OActivGiftProductDao {
	@Autowired
	private OActivGiftProductMapper oActivGiftProductMapper;

	@Override
	public List<OActivInfoContentGiftProductVo> queryByContentGiftId(Long contentGiftId) {
		return oActivGiftProductMapper.selectByContentGiftId(contentGiftId);
	}

	@Override
	public String queryNavigateByGoodsId(long goodsId) {
		return oActivGiftProductMapper.selectGoodsNavigateUrl(goodsId);
	}
}